<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title>摇红包</title>
    <link rel="stylesheet" href="../mui/css/mui.min.css" type="text/css" />
    <link rel="stylesheet" href="../css/base.css" type="text/css" />
    <link rel="stylesheet" href="../css/style.css" type="text/css" />
</head>

<body>
<header class="mui-bar mui-bar-nav">
	<a class="mui-action-back"><i class="icon icon-back"></i></a>
	<h1 class="mui-title"><a href="javascript:;" class="enve-share">分享赚</a></h1>
    <div class="top-right">
    	<a href="javascript:;" title="刷新"><i class="icon icon-refresh"></i></a>
    	<a href="javascript:;" title="关闭"><i class="icon icon-exit"></i></a>
    </div>
</header>
<div class="mui-content">
	<div class="shake-box" style="background-image:url(../images/live/sell-img3.jpg)">
    	<div class="shake-get c-pack">
        	<div class="get-mess">
                <p class="c-7a5d35">利率红包</p>
                <p class="c-f18">+0.351%</p>
                <p class="mt8"><a href="javascript:;" class="shake-btn">领取</a></p>
            </div>
            <div class="get-success c-hide">
            	<p class="c-f18 c-bold">领取成功</p>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../mui/js/mui.min.js"></script>
<script type="text/javascript" src="../js/base.js"></script>
<script type="text/javascript">
$(function(){
	$('.shake-box').height($(window).height() - $('.mui-bar-nav').innerHeight());
	$(window).resize(function(){
		$('.shake-box').height($(window).height() - $('.mui-bar-nav').innerHeight());
	});
	//分享
	$('.enve-share').on('click',function(){
		shareplain();
	});
});

$('.mui-content').on('click','.shake-btn',function(){
	var geting = $('.shake-get').hasClass('geting');
	if(!geting){
		$('.shake-get').addClass('geting');
		setTimeout(function(){
			$('.shake-get').removeClass('geting');
			$('.get-mess').hide();
			$('.get-success').show();
		},3000);
	}
});
</script>
</body>
</html>